package com.lkm.market2_0.m.steelyardserver.event;

import com.lkm.frame.otto.LinkBusEventFlag;
import com.lkm.frame.otto.ThreadEnforcer;
import com.lkm.market2_0.m.steelyarddata.SteelyardValue;



public class OnSteelyardValueEvent implements LinkBusEventFlag {


    private final SteelyardValue steelyardValue;

    public OnSteelyardValueEvent(SteelyardValue steelyardValue) {
        this.steelyardValue = steelyardValue;
    }

    public SteelyardValue getSteelyardValue() {
        return steelyardValue;
    }

    @Override
    public ThreadEnforcer getThreadEnforcer() {
        return ThreadEnforcer.ANY;
    }

    @Override
    public boolean isStickyBroadcast() {
        return false;
    }
}
